<!-- 导航 -->
<nav class="blog-nav layui-header">
    <div class="blog-container">
        <!-- 新浪微博登陆登陆 -->
        {empty name="Think.session.name"}
        <a href="{$url}" class="blog-user" title="微博登陆">
            <i class="fa fa-weibo fa-2x" style="color: white"></i>
        </a>
        {else /}
        <ul class="nav navbar-nav navbar-right" style="margin-right: 10px;line-height: 50px">
            <li><span class="text-info"><img src="{$Think.session.img_url}" class="wb">{$Think.session.name}&nbsp;   <a href="{:url('loginout')}">退出</a></span></li>
        </ul>
        {/empty}
        <a href="javascript:;" class="blog-user layui-hide">
            <img src="__HOME_IMG__/Absolutely.jpg" alt="Absolutely" title="Absolutely" />
        </a>
        <!-- 不落阁 -->
        <a class="blog-logo" href="/">Freedom</a>
        <!-- 导航菜单 -->
        <ul class="layui-nav" lay-filter="nav">
            <li class="layui-nav-item layui-this">
                <a href="/"><i class="fa fa-home fa-fw"></i>&nbsp;网站首页</a>
            </li>
            <li class="layui-nav-item">
                <a href="article.html"><i class="fa fa-file-text fa-fw"></i>&nbsp;文章专栏</a>
            </li>
            <li class="layui-nav-item">
                <a href="resource.html"><i class="fa fa-tags fa-fw"></i>&nbsp;资源分享</a>
            </li>
            <li class="layui-nav-item">
                <a href="timeline.html"><i class="fa fa-hourglass-half fa-fw"></i>&nbsp;点点滴滴</a>
            </li>
            <li class="layui-nav-item">
                <a href="/about"><i class="fa fa-info fa-fw"></i>&nbsp;关于本站</a>
            </li>
        </ul>
        <!-- 手机和平板的导航开关 -->
        <a class="blog-navicon" href="javascript:;">
            <i class="fa fa-navicon"></i>
        </a>
    </div>
</nav>